<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta http-equiv="content-type" content="text/html;charset=utf-8">

<link rel="stylesheet" href="js/easyui/demo/demo.css" type="text/css"></link>
<link rel="stylesheet" href="js/easyui/themes/icon.css" type="text/css"></link>
<link rel="stylesheet" href="js/easyui/themes/default/easyui.css" type="text/css"></link>

<script type="text/javascript" src="js/easyui/jquery-1.6.min.js"></script>
<script type="text/javascript" src="js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="script/common.js"></script>
<script type="text/javascript" src="script/cut_Craft.js"></script>
<link href="css/style.css" rel="stylesheet" type="text/css">


<script type="text/javascript">


</script>
<style type="text/css">
p>span {
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    color: #333333;
    text-align: left;
	}

#u1 {
  position:absolute;
  left:40px;
  top:34px;
  height:26px;
}

#u1_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u2 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}
#u3 {
  position:absolute;
  left:120px;
  top:40px;
  height:26px;
}
#u4 {
  position:absolute;
  left:40px;
  top:80px;
  height:26px;
}
#u4_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u5 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}

#u6 {
  position:absolute;
  left:120px;
  top:86px;
  height:26px;
}

#u7 {
  position:absolute;
  left:40px;
  top:126px;
  height:26px;
}
#u7_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u8 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}

#u9 {
  position:absolute;
  left:120px;
  top:132px;
  height:26px;
}

#u10 {
  position:absolute;
  left:40px;
  top:172px;
  height:26px;
}

#u10_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u11 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}

#u12 {
  position:absolute;
  left:120px;
  top:178px;
  height:26px;
}

#u13 {
  position:absolute;
  left:40px;
  top:218px;
  height:26px;
}
#u13_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u14 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}

#u15 {
  position:absolute;
  left:120px;
  top:224px;
  height:26px;
}

#u16 {
  position:absolute;
  left:40px;
  top:264px;
  height:26px;
}
#u16_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u17 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}

#u18 {
  position:absolute;
  left:120px;
  top:270px;
  height:26px;
}

#u19 {
  position:absolute;
  left:40px;
  top:330px;
  height:26px;
}
#u19_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u20 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}

#u21 {
  position:absolute;
  left:120px;
  top:336px;
  height:26px;
}

#u22 {
  position:absolute;
  left:420px;
  top:34px;
  height:26px;
}
#u22_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u23 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}
#u24 {
  position:absolute;
  left:540px;
  top:40px;
  height:26px;
}

#u25 {
  position:absolute;
  left:420px;
  top:80px;
  height:26px;
}
#u25_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u26 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}
#u27 {
  position:absolute;
  left:540px;
  top:86px;
  height:26px;
}

#u28 {
  position:absolute;
  left:420px;
  top:126px;
  height:26px;
}
#u28_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u29{
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}
#u30 {
  position:absolute;
  left:540px;
  top:132px;
  height:26px;
}

#u31 {
  position:absolute;
  left:420px;
  top:172px;
  height:26px;
}
#u31_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u32{
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}
#u33 {
  position:absolute;
  left:540px;
  top:178px;
  height:26px;
}

#u34 {
  position:absolute;
  left:564px;
  top:500px;
  width:167px;
  height:26px;
}


#u35 {
  position:absolute;
  left:280px;
  top:34px;
  height:26px;
}
#u36 {
  position:absolute;
  left:280px;
  top:126px;
  height:26px;
}
#u37 {
  position:absolute;
  left:280px;
  top:172px;
  height:26px;
}
#u38 {
  position:absolute;
  left:280px;
  top:218px;
  height:26px;
}
#u39 {
  position:absolute;
  left:700px;
  top:34px;
  height:26px;
}
#u40 {
  position:absolute;
  left:700px;
  top:126px;
  height:26px;
}
#u41 {
  position:absolute;
  left:700px;
  top:172px;
  height:26px;
}


#u42 {
  position:absolute;
  left:420px;
  top:218px;
  height:26px;
}
#u42_img {
  position:absolute;
  left:0px;
  top:0px;
  height:26px;
}

#u43 {
  position:absolute;
  left:0px;
  top:0px;
  white-space:nowrap;
}

#u44 {
  position:absolute;
  left:540px;
  top:224px;
  height:26px;
}
</style>
<script type="text/javascript">
	
</script>
<body>
	<div >
		<form action="craamendCraft" id="cutCraftForm" method="post">
		 	<div id="u1" class="">	
      			<img id="u1_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u2" class="text">
        		<p><span>工艺类型</span><span>：</span></p>
      			</div>
    		</div>
			
			<div id="u3">
				<input class="easyui-textbox" id="craftTypeId"  value="${craftShow.typeName}" style="height: 26px;" readonly="true"/>
			</div>
			
			<div id="u35" class="text">
        			<p><span id="craftType_msg"></span></p>
      	  	</div>
			
			<div id="u4" class="">	
      			<img id="u4_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u5" class="text">
        		<p><span>工艺编码</span><span>：</span></p>
      			</div>
    		</div>
			
			<div id="u6">
				<input class="easyui-textbox" id="craftCode" name="craft.craftCode" value="${craftShow.craftCode}" style="height: 26px;" readonly="true"/>
			</div>
				
			<div id="u7" class="">	
      			<img id="u7_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u8" class="text">
        		<p><span>工艺名称</span><span>：</span></p>
      			</div>
    		</div>
    		
			<div id="u9">
				<input class="easyui-textbox" id="craftName" name="craft.craftName" value="${craftShow.craftName}" style="height: 26px;" />
			</div>
			
			<div id="u36" class="text">
        		<p><span id="craftName_msg"></span></p>
      		</div>
      		
			<div id="u10" class="">	
      			<img id="u10_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u11" class="text">
        		<p><span>工艺次数</span><span>：</span></p>
      			</div>
    		</div>
    		
			<div id="u12">
				<input class="easyui-textbox" id="count" name="craft.count" value="${craftShow.count}" style="height: 26px;" />
			</div>	
				
			<div id="u37" class="text">
        		<p><span id="count_msg"></span></p>
      		</div>
				
			<div id="u13" class="">	
      			<img id="u13_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u14" class="text">
        		<p><span>标准价格</span><span>：</span></p>
      			</div>
    		</div>
    			
			<div id="u15">
				<input class="easyui-textbox" id="stdPrice" name="craft.stdPrice" value="${craftShow.stdPrice}" style="height: 26px;" />
			</div>	
			
			<div id="u38" class="text">
        		<p><span id="stdPrice_msg"></span></p>
      		</div>	
				
			<div id="u16" class="">	
      			<img id="u16_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u17" class="text">
        		<p><span>工艺要求</span><span>：</span></p>
      			</div>
    		</div>
    			
			<div id="u18">
				<input class="easyui-textbox" id="demand" name="craft.demand" value="${craftShow.demand}" style="height:50px;width:570" data-options="multiline:true"/>
			</div>	
			
			<div id="u19" class="">	
      			<img id="u19_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u20" class="text">
        		<p><span>备注</span><span>：</span></p>
      			</div>
    		</div>	
    		
			<div id="u21">
				<input class="easyui-textbox" id="memo" name="craft.memo" value="${craftShow.memo}" style="height:50px;width:570" data-options="multiline:true"/>
			</div>	
			
			<div id="u22" class="">	
      			<img id="u22_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u23" class="text">
        		<p><span>工艺等级</span><span>：</span></p>
      			</div>
    		</div>	
			
			<div id="u24">
				<select class="easyui-combobox" id="gradeId" name="craft.gradeId"  style="width:148px;height:26px" prompt="工艺等级" panelHeight="100"; editable="false">
					<option value=""></option>	
					<c:forEach items="${allCraftGrade }" var="crGrade">
							<c:choose>
								<c:when test="${crGrade.gradeId == craftShow.gradeId}" >
									<option value="${crGrade.gradeId}" selected="true">${crGrade.gradeName}</option>
								</c:when><c:otherwise>
									<option value="${crGrade.gradeId}">${crGrade.gradeName}</option>
								</c:otherwise>
							</c:choose>
						</c:forEach>
				</select>
			</div>		
			
			<div id="u39" class="text">
        		<p><span id="grade_msg"></span></p>
      		</div>	
				
			<div id="u25" class="">	
      			<img id="u25_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u26" class="text">
        		<p><span>工价</span><span>：</span></p>
      			</div>
    		</div>	
    		
			<div id="u27">
				<input class="easyui-textbox"  id="wageUnit" value="${craftShow.wage }${craftShow.unit}" style="height: 26px;" readonly="true" />
			</div>	
				
			<div id="u28" class="">	
      			<img id="u28_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u29" class="text">
        		<p><span>标准工时</span><span>：</span></p>
      			</div>
    		</div>		
				
			<div id="u30">
				<input class="easyui-textbox" id="stdTime" name="craft.stdTime" value="${craftShow.stdTime}" style="height: 26px;" />
			</div>
				
			<div id="u40" class="text">
        		<p><span id="stdTime_msg"></span></p>
      		</div>	
      			
			<div id="u31" class="">	
      			<img id="u31_img" class="img " src="images/transparent.gif"/>
     		    <!-- Unnamed () -->
      			<div id="u32" class="text">
        		<p><span>标准产量</span><span>：</span></p>
      			</div>
    		</div>				
				
			<div id="u33">
				<input class="easyui-textbox" id="output" name="craft.output" value="${craftShow.output}"  style="height: 26px;" />
			</div>
							
			<div id="u41" class="text">
        		<p><span id="output_msg"></span></p>
      		</div>
      		
      		<div style="display: none;">
      			<input class="easyui-textbox" name="craft.craftId" value="${craftShow.craftId}"  style="height: 26px;" />
      		</div>		
      		
			<div id="u34">
				<input id="save" class="easyui-linkbutton" type="button" value="保存" style="padding: 5px 12px 5px 12px;"/>
				<a class="easyui-linkbutton" onclick="removeCurrentPanel();" style="margin-left: 10px;">返回</a>
			</div>		
				
		</form>
		
	</div>
</body>
</html>